home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d11 / vpic30.arc / VPIC.DOC < prev    next >
Text File  |  1990-10-31  |  38KB  |  780 lines

  1.                          VPIC USERS MANUAL
  2.                A Picture File Viewing/Conversion Program
  3.         (C) Copyright 1990 Bob Montgomery, All Rights Reserved
  4.                         by Bob Montgomery
  5.                           CIS 73357,3140
  6.  
  7. INTRODUCTION
  8. Background
  9.  
  10. The original program was called VGIF, reflecting its ability to view only GIF
  11. files. When the program evolved to include other paint file formats, its name
  12. was changed to VPIC. A configuration program (CVPIC.EXE) is also supplied to
  13. configure VPIC to your VGA board. See the revision history in Appendix A for
  14. latest additions and bug fixes.
  15.  
  16. IMPORTANT: VPIC requires DOS 2.0 or up to run from current directory, or DOS 3.0
  17. up to run from anywhere. You must configure VPIC for your graphics board using
  18. CVPIC (unless you have an Orchid Designer VGA with 512 K).
  19.  
  20. The Graphics Interchange Format (GIF) is a Service Mark owned by Compuserve
  21. Incorporated. For further information, please contact:
  22.     Compuserve incorporated, Graphics Technology Department,
  23.     5000 Arlington Center Boulevard, Columbus, Ohio 43220, USA
  24.  
  25. GENERAL FEATURES
  26. VPIC is a file viewer for EGA, MCGA, VGA and SuperVGA, and has the following
  27. features:
  28.   *  Print VPIC.TXT at 17 chars/inch and 8 lines/inch for a handy reference card.
  29.  
  30.   *  Views the following file formats in EGA, MCGA, VGA, or SuperVGA:
  31.      1. Dr. Halo CUT files (with PAL if present). Not Dr. Halo PIC files.
  32.      2. GIF files.
  33.      3. Deluxe Paint LBM (or IFF) files, regular and enhanced.
  34.      4. MAC files.
  35.      5. Pictor/PC Paint PIC files.
  36.      6. ZSoft PCX files (including 256 color files).
  37.      7. ColorRIX/EGA Paint SCx files.
  38.      8. Targa 8 thru 32 TGA files, comressed or uncompressed.
  39.  
  40.   *  Saves current image to any of the above formats (except MAC and IFF) in the
  41.      current mode (EGA, MCGA, or VGA). Also uncompresses TGA files.
  42.  
  43.   *  Saves current image to GIF in regular, interlaced, inverted, mirrored,
  44.      or rotated 90 degrees CW or CCW. Great for scans.
  45.  
  46.   *  Configurable for display boards using Tseng3000 and Tseng4000, Paradise,
  47.      Everex, ATI, Trident, C&T, Video 7, Genoa, Zymos, or Ahead (B) VGA chips
  48.      (see configuring VPIC below); the Ahead A chip used on some early boards is
  49.      not supported.
  50.  
  51.   *  /R option allows an application program to show a file and regain control
  52.      without changing the screen mode.
  53.  
  54.   *  Mode can be manually selected or auto selected from menu.
  55.  
  56.   *  Allows you to specifiy a new path from the menu with the [F9] key. Also
  57.      updates menu when files are added or deleted.
  58.  
  59.   *  Very fast GIF decoding.
  60.  
  61.   MENU FEATURES:
  62.   *  Mark/unmark files for viewing with [SPACEBAR].
  63.   *  Menu text color setable in configuration file.
  64.   *  [F1] gives help.
  65.   *  [F2] shows marked files like a slideshow.
  66.   *  [F3] gives file size and colors.
  67.   *  [F4] toggles between EGA and VGA mode.
  68.   *  [F5/F6] decrease/increase default resolution.
  69.   *  [F7] Locks current resolution, or selects auto resolution mode.
  70.   *  [F8] Makes multiple GIF images pause for a keypress.
  71.   *  [F9] prompts for new path.
  72.   *  [F10] shows current path for files.
  73.   *  Shows marked files singly or like a slide show.
  74.   *  Handles up to 500 files.
  75. ==============================================================================
  76.   VIEWING FEATURES
  77.   *  Help while viewing with / or ? key.
  78.   *  Shows filename while decoding, and [ESC] aborts decoding.
  79.   *  Allows deleting a file (with query) with the [Alt-X] key.
  80.   *  Allows adjustment of picture color and VGA contrast and brightness.
  81.   *  Allows saving the current image as a GIF (many options), PC Paint or
  82.      Pictor, ZSoft PCX, ColoRIX or EGA Paint, Targa 16, Dr. Halo CUT, and
  83.      Deluxe Paint II formats in EGA, MCGA, or VGA.
  84. =============================================================================
  85. RUNNING VPIC
  86. Command Format: vpic [[path]filespec][/a][/e][/r][/c][/w][/?].
  87.   *  The default path is the current directory, and the default extensions are
  88.      CUT, GIF, IFF, LBM, MAC, PIC, PCX, SCx, and TGA.
  89.   *  The /a option starts VPIC in Auto resolution select mode.
  90.   *  The /b option causes VPIC to beep after displaying a file except in slide
  91.      mode or /r.
  92.   *  The /c option gives the current configuration; see 6 below.
  93.   *  The /e option forces EGA mode, to use extended 16 color modes; see 5 below.
  94.   *  The /h option allows the viewing of hidden files.
  95.   *  The /r option returns control to a calling program; see 4 below.
  96.   *  The /w option wait for a keypress after each image in a multi_image GIF
  97.      file.
  98.   *  The /? option gives a help screen.
  99.   *  If filespec is a filename, the single file will be shown (the default
  100.      extension is GIF).
  101.   *  If path\filespec is a directory, a menu of all viewable files in that
  102.      directory will appear. Otherwise all files meeting the filespec will
  103.      appear. For example, [vpic d:\pics\*.pcx] would give a menu of all PCX
  104.      files in the PICS directory of drive D, while [vpic d:\pics] would give a
  105.      menu of all viewable files in the PICS directory of drive D.
  106.   *  Options and filespec may be entered in any order.
  107.  
  108. EXAMPLES OF VPIC COMMANDS
  109.     1. VPIC [path\]filename[.ext] shows the file specified. The default path is
  110.        the current directory, and the default extension is GIF.
  111.  
  112.     2. VPIC [path\][filespec] to get a menu of all files in the specified path
  113.        meeting filespec (may contain wildcards). The default path is the current
  114.        directory, and the default filespec is any of the viewable files; just
  115.        entering VPIC will give a menu of all viewable files in the current
  116.        directory. Shows whether VGA or EGA and modes supported in upper left
  117.        corner. If Path contains . or .., a filespec must be given (may contain
  118.        wildcards). Thus ..\*.* would give a menu of all viewable files in the
  119.        parent of the current directory.
  120.  
  121.     3. VPIC /@[path\]slidefile[.ext]  to do a slide show from commands in the
  122.        slidefile file. The default path is the current directory, and the
  123.        default extension is SLD. The commands are placed on seperate lines, and
  124.        consist of either a filename (GIF extension assumed) and optional display
  125.        mode, or a delay (viewing time) spec of the form  d n where n is the
  126.        desired viewing time in seconds. The default viewing time is 5 seconds if
  127.        no delay spec is given, and the default viewing mode is whatever would
  128.        look best. VPIC understands comments preceded by a semicolon, blank or
  129.        comment lines, and extra spaces. For example, the following is file
  130.        contents are understood by VPIC, but not recommended:
  131.  
  132.        file1  1    ;First file in slideshow. Use mode 1.
  133.           file2.pcx         ;This is a ZSoft filename with leading spaces
  134.           ;This is a comment line with leading spaces, next is a blank line.
  135.  
  136.        file3
  137.           d        15 ;Use 15 second delay. Has leading and separator spaces.
  138.  
  139.        To end a slide show after the current picture, press any key. [ESC] ends
  140.        it immediately.
  141.  
  142.        The mode requires a little further explanation. In the above slide file,
  143.        it says to use mode 1 with file1. Modes 1 thru 10 are the VGA (256 color)
  144.        modes, and modes 11 thru 20 are EGA (16 color) modes called out in the
  145.        configuration file. Most display boards only have a few of each type. The
  146.        Orchid Designer has 4 VGA modes and 4 EGA modes in the configuration file.
  147.  
  148.        The VGA modes are                  ║ The EGA modes are
  149.         1. 320x200x256     2. 640x350x256 ║ 11. 640x350x16     12. 640x480x16
  150.         3. 640x480x256     4. 800x600x256 ║ 13. 800x600x16     14. 1024x768x16
  151.  
  152.        Thus, the slide file says to show file1 in the 320x200x256 mode, and show
  153.        all the others in the default modes.
  154.  
  155.     4. VPIC /r shows the file and then returns to DOS (or a calling application
  156.        program) with the picture still on the screen in EGA/VGA. It is not
  157.        necessary to change the video mode between viewing each file, but it is
  158.        up to the calling program to reset text mode (mode 3) after all viewing
  159.        is done. The /e and /a switches are valid in this mode.
  160.  
  161.     5. VPIC /e forces and EGA display with VGA to use extended EGA modes.
  162.  
  163.     6. VPIC /c prints the current configuration of vpic. You can configure VPIC
  164.        to your display board using the CVPIC program and a text configuration
  165.        file describing your board.
  166.  
  167.     7. VPIC /a starts VPIC in auto resolution mode.
  168.  
  169.     8. VPIV /b causes VPIC to beep after a file has been fully decoded. Lets you
  170.        know when the viewing options are available. Doesn't beep in slide mode
  171.        or when using the /r option.
  172.  
  173.     9. VPIC /h allows VPIC to find and display hidden files. Great for those
  174.        R or X rated files you don't want to be normally accessible. This option
  175.        doesn't appear on the help screen.
  176.  
  177.     10. VPIC /?  gives a help screen.
  178.  
  179. CONFIGURING VPIC
  180. Running CVPIC.EXE
  181.     To configure VPIC, enter
  182.          CVPIC [config_file[.ext]]
  183.     where the default configuration file is VPIC.CFG (which is for the Orchid
  184.     Designer VGA board with white menu text color) and the default extension is
  185.     .CFG.
  186.  
  187.     The default configuration of VPIC is for the Orchid Designer VGA card with
  188.     512K of display memory. If you have just EGA, you should use the EGA.CFG
  189.     file. If you have plain vanilla VGA (modes 10h, 12h, and 13h), use VGA.CFG.
  190.     The meaning of each field is given in the various configuration files. You
  191.     can make your own custom config file, or use one of the configuration files
  192.     supplied. VPIC supports most of the popular boards using the Tseng (ET3000
  193.     and ET4000), Paradise, Everex, ATI, Trident, C&T, Video 7, Ahead (B chip),
  194.     Zymos, or Genoa VGA chips. Sample configuration files are enclosed for some
  195.     of the more popular boards, and can be modified for your board.
  196.  
  197. CONFIGURATION FILE (.CFG)
  198. File Format
  199. CVPIC ignores leading spaces in the file, and all characters after a semicolon
  200. are considered comments and ignored. The .CFG file contains the following lines:
  201.  
  202.     1. Board name, which will appear in the VPIC menu. This is user defineable,
  203.        and could be something like 'Joe's VGA Board'.
  204.  
  205.     2. VGA CHIP set, and should be TSENG, TSENG4, PARADISE, EVEREX, ATI, C&T,
  206.        VIDEO7, TRIDENT, AHEADB, GENOA, or GENERIC presently; upper or lower
  207.        case is OK. The TSENG is for the ET3000 chip and the TSENG4 is for the
  208.        ET4000 chip from Tseng Labs.
  209.  
  210.     3. The number of 64K banks of display ram usable for 256 color VGA pics
  211.        (1 for standard VGA, 4 for 256K, 8 for 512K, 16 for 1M).
  212.  
  213.     4. Menu text color; 0 thru 7 corresponds to black, blue, green, aqua, red,
  214.        violet, brown, and white. For example, 4 would be red text.
  215.  
  216.     5 thru n. The following lines describe the modes supported by the board.
  217.       Each line is of the form: F1 F2 AX BX CX DX W H C  where:
  218.         *  F1 = VGA (256 color) mode flag.
  219.         *  F2 = 256K colors to choose from (as in mode 12h, 640x480x16) flag.
  220.         *  AX,BX,CX,DX  register values used to set this mode. Preceeding the
  221.            numbers by 0x indicates hex; ie., 0x10 = 16.
  222.         *  W, H, C  are width, height, colors in this mode.
  223.       All the VGA (256 color) modes should be grouped first, followed by the EGA
  224.       (16 color) modes.
  225.  
  226. COMMANDS IN MENU MODE
  227. Keyboard Commands in Menu Mode
  228.  
  229. 1.  The [up], [down], [right], and [left] arrow keys move the cursor around the
  230.     menu of files. [PgDn/PgUp] goto next/previous page. Pressing a key goes to
  231.     next file starting with this character.
  232.  
  233. 2.  Pressing the [SPACEBAR] marks a file for viewing or slides, and moves to the
  234.     next file; it will also unmark a previously marked file.
  235.  
  236. 3.  Pressing [ENTER] will display the marked files in the order they were
  237.     marked. If no files were marked, pressing enter displays the file at the
  238.     cursor.
  239.  
  240. 4.  Pressing [F1] will bring up the help screen; any key will return to the
  241.     menu.
  242.  
  243. 5.  Pressing [F2] will do a slide show of marked files until a key is pressed.
  244.  
  245. 6.  Pressing [F3] will display the file size and colors on the next to last
  246.     line.
  247.  
  248. 7.  Pressing [F4] will toggle between VGA and EGA modes.
  249.  
  250. 8.  Pressing [F5/F6] will decrease/increase the default resolution for files
  251.     larger than 320x200 in VGA.
  252.  
  253. 9.  Pressing [F7] goes to LOCK, which forces the default resolution (above) no
  254.     matter what the file size. Pressing F7 again goes to AUTO, which
  255.     automatically selects the resolution to display the picture. Pressing F7
  256.     again goes back to to the normal default mode.
  257.  
  258. 10. Pressing [F8] toggles the wait mode, where VPIC waits for a keypress between
  259.     multiple images in a GIF file.
  260.  
  261. 11. [F9] prompts for a new path\filespec, and displays a menu of the files in
  262.     the new path meeting the filespec.
  263.  
  264.  
  265. 12. [Alt_X] prompts if you want to delete the file at the cursor. [Y] deletes
  266.     it, [N] or ESC doesn't, and all other keys are ignored.
  267.  
  268. 13. Pressing [ESC] ends the program and returns to DOS.
  269.  
  270. 14. Pressing [Ctrl-Break] or [Ctrl-C] will get you directly to DOS.
  271.  
  272. All other keys are ignored. If errors are encountered, an error message appears
  273. on the next to last line, and disappears when the cursor is moved. The menu
  274. title is the search spec.
  275.  
  276. KEYBOARD COMMANDS IN VIEWING MODE (except in slide mode)
  277.  
  278. 1.  The up/down arrow keys will scroll the picture if longer than the screen,
  279.     provided you have sufficient display memory. The [PgUp] and [PgDn] keys will
  280.     scroll by 10 lines. The Video 7 extended VGA boards do not supported writing
  281.     to non-displayed memory or scrolling pics larger than the screen, so this
  282.     function is disabled for these boards.
  283.  
  284. 2.  If the picture size is <= 1/2 the screen width, pressing [2] will give a
  285.     double size image (which may be scrollable) and pressing [1] will give the
  286.     normal size again. For VGA, the picture will be changed only in the
  287.     horizontal direction; this will unsquash some 320x400 pics so the aspect
  288.     ratio is correct.
  289.  
  290. 3.  Pressing [+] will increase the resolution (320x200 to 640x480, etc).
  291.  
  292. 4.  Pressing [-] will decrease the resolution; useful if 800x600 rolls.
  293.  
  294. 5.  Pressing [/] or [?] gives a help screen of commands available while viewing.
  295.  
  296.     Note: All the following conversion options check if the default filename is
  297.     present, and prompt for a new name if it is. They create a file on the
  298.     current drive and directory with the same dimensions as the file being
  299.     viewed, and let you know what is happening while the conversion proceeds. If
  300.     you screw up at the new filename prompt, hit [Ctrl-C] to escape immediately
  301.     to DOS; this will usually preserve a file you don't want to write over. The
  302.     safest bet is to view files in another directory, since the new file is
  303.     saved to the default directory, which is the drive and directory you ran
  304.     VPIC from. I put VPIC in my UTIL directory, and have my PATH set to include
  305.     UTIL, so I can run VPIC from any drive or directory.
  306.  
  307. 12. Pressing [A] will 'animate' a picture by rotating the palette periodically.
  308.     This is especially effective on fractals, where large areas tend to be the
  309.     same color. Pressing [SPACEBAR] will pause the palette rotation, and
  310.     pressing [ENTER] will terminate it and return to the command mode. Thus, by
  311.     waiting for an especially nice pattern and then pressing [ENTER], the
  312.     pattern can be written to a file using the above file save commands.
  313.     Pressing [ESC] will return to the menu.
  314.  
  315. 11. Pressing [C] will create a Dr. Halo CUT file with the same filename and
  316.     extension CUT. A palette file (.PAL) will also be created.
  317.  
  318. 10. Pressing [E] will expand a Run Length Encoded (RLE) compressed Targa file. If
  319.     the file is not a Targa or is already uncompressed, this key does nothing.
  320.  
  321. 7.  Pressing [G, I, M, U, <, or >] will create a GIF file on the default drive,
  322.     and prompt for a new filename-the default extension is GIF. [G] is for
  323.     non-interlaced, and [I] is for interlaced, [M] is for mirror image, [U] is
  324.     for upside down (inverted), [<] is rotate image 90 degrees CCW, and [>] is
  325.     rotate image 90 degrees CW.
  326.  
  327. 6.  Pressing [P] will create a PC Paint or Pictor file. The default extension is
  328.     PIC, and for EGA it prompts for a PC Paint or Pictor file.
  329.  
  330. 8.  Pressing [R] will create a ColoRix file with the same filename and extension
  331.     SCx where x is a function of the screen size. If in EGA, will prompt if you
  332.     want an EGA Paint or ColoRix file.
  333.  
  334. 9.  Pressing [T] will create a Targa 16 file with the same filename and
  335.     extension TGA.
  336.  
  337. 5.  Pressing [Z] will create a ZSoft (PC Paintbrush) file with the same filename
  338.     and extension PCX. The file will be in whatever mode you are currently using
  339.     (EGA or VGA). The VGA palette will be correct for the latest version of PC
  340.     Paintbrush, which saves a VGA palette in the file.
  341.  
  342. 13. [Alt_F] displays current filename momentarily.
  343.  
  344. 14. Pressing [Alt-X] will prompt you to delete the current file. If you answer
  345.     [y] it will be deleted, [n] or ESC it won't, and all other keys are ignored.
  346.  
  347. 15. Pressing [ENTER] will return to menu or DOS, or show next file for marked
  348.     menu mode.
  349.  
  350. 16. Pressing [ESC] will end the display and return to the menu.
  351.  
  352. 17. The following keys control the picture tone as follows:
  353.     [F1]       Decrease red content of picture.
  354.     [F2]       Increase red content of picture.
  355.     [F3]       Decrease green content of picture.
  356.     [F4]       Increase green content of picture.
  357.     [F5]       Decrease blue content of picture.
  358.     [F6]       Increase blue content of picture.
  359.     [F7]       Decrease contrast of picture (VGA only).
  360.     [F8]       Increase contrast of picture (VGA only).
  361.     [F9]       Decrease brightness of picture (VGA only).
  362.     [F10]      Increase brightness of picture (VGA only).
  363.     [Alt-F10]  Restore original palette after you thoroughly mess up the colors.
  364.     [V]        Reverses the current palette (16/64 EGA only); interesting effect
  365.                especially for black & white images.
  366.  
  367.     After a little experimenting, a 'washed out' VGA picture can be greatly
  368.     improved by using [F1-F10] , and you can always start over by using
  369.     [Alt-F10]. To retain a black background in a VGA picture, the brightness
  370.     should be decreased when the contrast is decreased. If you have really
  371.     improved the picture, you can then save it any of the supported formats.
  372.     VPIC will prompt you if the file exists in the default directory, and you
  373.     have the option of overwriting it or giving a new filename. This works
  374.     really well with images created on the Sharp, Howtec or Targa scanners.
  375.  
  376. All other keys are ignored. Pressing [Ctrl-Break] or [Ctrl-C] will go to DOS.
  377.  
  378. DECODING OTHER FILE FORMATS
  379.  
  380. The file decoding works in whatever mode you are presently using (VGA or EGA)
  381. and at the resolution you are viewing with. This way, if you choose to save to
  382. another file format, it will be in the same mode you are viewing with (EGA,
  383. MCGA, VGA, or SuperVGA). The decoding for other than GIF is not as fast as could
  384. be done, but the added versatility more than compensates for this. For example,
  385. EGA PCX files can be very quickly decoded to EGA, but are in the wrong format
  386. for VGA, and considerable manipulation is required to produce a VGA image. For
  387. all formats except GIF, the method of viewing is to decode to a buffer for a
  388. single line at 1 byte/pixel, then copy this line to the display in whatever mode
  389. you are using. This is a compromise for most file formats, since they are geared
  390. to EGA or VGA, and display time suffers, but it makes the code much simpler.
  391. Besides, the other formats are supported mainly to allow easy conversion to GIF,
  392. which is the preferred format for storage, since it gives the smallest file
  393. size. This will also make EGA <-> VGA conversions possible, which is not
  394. supported by most paint programs.
  395.  
  396. The TARGA viewing uses a fixed palette to speed up the decoding, so the picture
  397. does not have what could be called good color. It is mainly there to verify that
  398. an image is present. Use Image Tools TGAPIC to get an equivalent GIF picture
  399. with excellent color rendition.
  400.  
  401. ADDED FEATURES
  402.  
  403. VPIC is meant to fill a void not covered by paint programs, and to allow very
  404. convenient file viewing and conversion between file formats. It is not meant to
  405. compete with the paint programs, and in general if a paint program does
  406. something well (such as resize a picture to fill the screen or cut out a portion
  407. of the picture), VPIC will not attempt to do it. On the other hand, if you think
  408. of a feature which would enhance VPIC, please let me know, and I will consider
  409. adding it to the program.
  410.  
  411. KNOWN PROBLEMS
  412. 1.  The ATI 1024x768x16 mode uses 2 pixels/byte, unlike any other VGA or EGA
  413.     mode. It is supported for viewing and some conversions, but not all the
  414.     features of VPIC work in this mode.
  415.  
  416. IMPORTANT: Support for boards with other VGA chips: VPIC will support other VGA
  417. boards with extended VGA modes if the owners will write me with the details of
  418. how to set the various modes, and how to bank switch the display memory. Of
  419. course, if you also register VPIC I will give the problem more consideration.
  420.  
  421. The bank switching Info for some of the 'not so common' VGA boards is hard to
  422. come by, and is needed if VPIC is to support extended VGA modes for these
  423. boards. A VGA board needs to bank switch for extended modes because there is
  424. only a 64K window in the PC address space for graphics memory (from A000 to
  425. AFFF), and extended modes require more than 64K of memory; 640x480x256 requires
  426. 307200 bytes of memory, or about 4.7 'banks of 64K'. Bank switching is a means
  427. of mapping the (A000 to AFFF) graphics address space into 64K chunks of actual
  428. display memory. The method of bank switching is determined by the VGA chip used
  429. on the display board, and what I need is info on how to switch banks and how to
  430. set the various modes the board supports. The use of a display board would also
  431. help, since it will allow me to test the program with that display board instead
  432. of 'programming blind'.
  433.  
  434. SHAREWARE
  435.            
  436. VPIC is user supported software for the IBM PC.  VPIC is made available for a
  437. free ten day trial period.  If you find this program useful,  you may license
  438. the program for non-commercial use on one machine by sending $15.00 to:
  439.  
  440.      Bob Montgomery
  441.      132 Parsons Road
  442.      Longwood, Fl 32779
  443.  
  444. You may use all updates free once you have registered VPIC. If you are already
  445. registered for VGIF (any version) you may use VPIC for an additional $5. I do
  446. not send updates, but they are available on most graphics oriented BBS's, and at
  447. Compuserve in DL3 of the PICS forum. As an alternative, you can get VPIC from me
  448. by sending a $15 registration fee plus $5 ($10 outside the USA and Canada)
  449. postage and handling ($20/$25 total) or $10 for upgrading VGIF to VPIC. As a
  450. bonus; I will fill the rest of the disk with good pictures. Please specify 360K
  451. or 1.2Meg disk (I don't have 3.5" disks) and EGA, VGA, or SuperVGA (640x480x256,
  452. etc) so I'll know what pictures to send.
  453.  
  454. VPIC may be licensed for commercial use on up to 10 computers at a single site
  455. or set of sites for $75.00. A commercial site is defined as a business or
  456. individual using VPIC as part of his business activities.
  457.  
  458. Clubs, schools,  universities and other organizations may license VPIC for
  459. $45.00 per 6 copies.
  460.  
  461. If you use VPIC as part of a commercial demo or as a utility for another
  462. application you must obtain a license from Bob Montgomery, and pay a $1/copy
  463. royalty for each copy shipped.
  464.  
  465. VPIC is copyrighted software, and all rights are reserved.
  466.  
  467. VPIC may not be changed or modified in any way  except by the author.  VPIC may
  468. be freely distributed for the ten day trial period as long as it remains in its
  469. complete form. Regardless of how the copy is obtained, it is requested that
  470. all users comply with the licensing agreement.
  471.  
  472. All warranties are disclaimed, including damage to hardware and/or software from
  473. use of this product. In no event will I be liable to you for any damages,
  474. including lost profits, lost savings or other incidental or consequential
  475. damages arising out of your use or inability to use the program, or any other
  476. claim by any other party.
  477.  
  478. Contact Bob Montgomery for:
  479.     1. Special versions of VPIC tailored to your application.
  480.     2. Other graphics oriented applications (file conversion, etc).
  481.  
  482. Any suggestions or comments should be mailed directly to me. The following are
  483. graphics oriented BBS's:
  484.  
  485. Compuserve PICS Forum (My ID is 73357,3140)
  486. Tsunami BBS, Half Moon Bay, Calif. (415) 726-2726
  487. PC Rockland, S. Nyack, NY (914) 353-2538 [Freeboard] 1.6 Gbyte Online
  488. Megabyte Image Center     (918) 492-0087 1200/2400/9600 baud USR HST
  489. Event Horizons, Portland OR  (503) 777-1578
  490.  
  491.                 APPENDIX A - REVISION HISTORY
  492.  
  493. History of the original VGIF program.
  494.  
  495. VGIF ver 1.1   1-13-88
  496.     *  Added test for EGA adapter.
  497.     *  Fixed menu colors.
  498.     *  Allow [ESC]ape from marked file viewing.
  499.     *  Added [Ctrl-Break] or [Ctrl-C] exit to DOS anywhere.
  500.     *  Added 'disk full' notification when creating picture file.
  501.     *  Added critical error handler for 'drive not ready' errors.
  502.  
  503. VGIF ver 1.2   1-15-88
  504.     *  Changed name to VGIF.
  505.     *  Slide mode now ignores the end of file mark in slide file, and any key
  506.        will now end slide mode.
  507.     *  Added slides to menu mode if [S] pressed-shows marked files as slides
  508.        until a key is pressed.
  509.  
  510. VGIF ver 1.3   1-21-88
  511.     *  Added better error checking to GIF file decoding. Notifies if bad GIF
  512.        file.
  513.     *  Fixed error reporting bug in single file mode.
  514.  
  515. VGIF ver 1.4   2-9-88
  516.     *  Added instantaneous screen update in slide mode from menu or command
  517.        (SLD) file.
  518.     *  Added the /r option which allows an application program to call VGIF
  519.        to view a file and then regain control.
  520.  
  521. VGIF ver 1.5   3-2-88
  522.     *  Added [PgUp] and [PgDn] keys to scroll by 10 lines at a time.
  523.     *  Added a max pic height of 819 lines so EGA buffer would not overflow.
  524.     *  Greatly improved color reproduction for 'problem' pictures (such as FROG,
  525.        ARCHIT, PUFFIN, VEGTABLE, etc). These pictures typically have more than
  526.        16 colors. Selected colors on basis of frequency of use where possible.
  527.     *  Fixed following bugs:
  528.        1.  Line buffer would overflow into other variables if pic width was
  529.            > 640 pixels, causing strange results.
  530.        2.  Didn't recognize the end of image marker correctly. This would
  531.            cause the palette to change when the image was done.
  532.  
  533. VGIF ver 1.6   3-11-88
  534.     *  Fixed a bug in handling multiple images. First noticed when viewing
  535.        WHIMMI.GIF.
  536.     *  Use same palette for multiple images, and get best color match.
  537.     *  Added [L] and [S] commands while viewing a picture. These allow you to
  538.        create full size paint program files.
  539.  
  540. VGIF ver 2.0   3-26-88
  541.     *  Added the ability to view long GIF files ( > 819 lines) without
  542.        wrapping the display.
  543.     *  Added the [C] and [H] (Dr. Halo) file creation option while viewing.
  544.     *  Added the [L] and [S] prefixes to paint program file creation commands
  545.        while viewing to save long pic files.
  546.     *  Added the Info and Help commands in menu mode.
  547.     *  Deleted the # requirement to specify a directory from the command line.
  548.        The program now looks for a directory which meets the spec on the command
  549.        line. If none is found, it assumes the spec is for a single file.
  550.     *  Added [F1 - F10], and [V] palette control keys while viewing a file.
  551.  
  552. VGIF ver 3.0   5-2-88
  553.     *  Added VGA capability, and support for Tseng extended VGA modes
  554.        (640x480x256 and 800x600x256).
  555.     *  Determines and displays available modes for your system.
  556.  
  557. VGIF ver 3.1   5-11-88
  558.     *  Fixed a bug in dir/file spec from command line. Now accepts
  559.        VGIF d:\dir\*.gif or VGIF d:*.gif, although the [\]*.gif is not required,
  560.        since this is the default filespec.
  561.  
  562.     *  Fixed a bug in forced EGA when doing slides, where an interlaced pic
  563.        displayed at double size would have a 'venetian blind' effect.
  564.  
  565.     *  Changed so pics larger than 320x200 are shown in 640x480 VGA; can get
  566.        800x600 by pressing + key.
  567.  
  568.     *  Note that EGA mode on the Orchid VGA card appears squashed vertically.
  569.        This is normal, and cannot be corrected without reprograming the
  570.        parameters for mode 16, which would change the vertical retrace
  571.        frequency, and probably cause your monitor to roll.
  572.  
  573. VGIF ver 3.2   5-26-88
  574.     *  Added 500 file menu, and assy language text screen updating; now
  575.        super fast.
  576.     *  Fixed a bug which caused the Vega VGA card to hang up.
  577.  
  578. VGIF ver 3.3   6-9-88
  579.     *  Added user spec of video mode for non-Orchid VGA boards.
  580.     *  Added GIF and Pictor save of current screen for VGA/EGA pics.
  581.     *  Added prompts to screen for conversion to other formats.
  582.     *  Removed conversion starting at first visible row-now does whole pic.
  583.  
  584. VGIF ver 3.4   6-23-88
  585.     *  Fixed a bug in the GIF save routine.
  586.     *  Added color, contrast, and brightness adjustment in VGA.
  587.     *  Fixed a bug in menu mode for marked files.
  588.     *  Added /n command line option to stay in 640x480x256 for VGA pics.
  589.  
  590. VGIF ver 3.5   7-14-88
  591.     *  Fixed some misc minor bugs.
  592.     *  Added increase/decrease resolution command while viewing 16 color VGA
  593.        pics (using the /e option).
  594.     *  Added slide mode for VGA.
  595.     *  Added lock mode option to start pics from the menu in a desired mode.
  596.  
  597. VGIF ver 3.6   8-8-88
  598.     *  Fixed some bugs.
  599.     *  Fixed EGA slide show.
  600.  
  601. VGIF ver 3.6A  9-10-88
  602.     *  Fixed 1024x768x16 mode.
  603.  
  604. VGIF ver 4.0   10-20-89
  605.     *  This was a beta test version which got out. It had lots of bugs, which
  606.        were fixed in VPIC.
  607.  
  608. History of VPIC
  609.  
  610. VPIC ver 1.0 & 1.1 12-27-88
  611.     *     Beta test versions.
  612.  
  613. VPIC ver 1.2   12-27-88
  614.     *  Added configuration option for various display boards.
  615.     *  Added VGA file conversion for all previous Paint programs supported.
  616.     *  Added Deluxe Paint 2 conversion.
  617.     *  Added Targa 16 file conversion.
  618.     *  Added EGA/VGA toggle from menu.
  619.     *  Added default resolution select, and Mode Lock key from menu.
  620.     *  Added WAIT option to pause between images of multi-image files.
  621.     *  Added MAC, PCX, & Colorix file viewing capability. Others will be
  622.        added in later versions.
  623.     *  Added 'animate' while viewing.
  624.     *  Fixed VGA 16 color palette.
  625.  
  626. VPIC ver 1.2A   1-4-89
  627.     *  Fixed MAC -> GIF conversion
  628.     *  Fixed CVPIC for ^Z as EOF char.
  629.     *  Fixed 16 color palette for other file formats if VGA 16 colors.
  630.  
  631. VPIC ver 1.3    2-2-89
  632.     *  Fixed cursor in menu.
  633.     *  Fixed 'lock up' if GIF header size wrong (640x350 labeled 350x640).
  634.     *  Now pauses pic if file error and waits for key press-can see partial
  635.        pics in bad files this way.
  636.     *  Shows GIFs with MAC headers (1st 128 bytes are not GIF standard);
  637.        if F3 (info) pressed shows if file has a MAC header.
  638.     *  Fixed so views and saves new ZSoft VGA PCX files which include
  639.        palette at end of file. Still doesn't load PAL files.
  640.     *  Fixed ZSoft file displays and saves.
  641.     *  Added Wait toggle (F8) which pauses between images in multi-image
  642.        GIFs, and allows conversion to other filetypes.
  643.     *  Made MACs black on bright white instead of gray.
  644.  
  645. VPIC ver 1.4   3-15-89
  646.     *  Added printout of filename while decoding except in slide mode.
  647.     *  Added help while viewing a picture; press [?] or [/].
  648.     *  Added delete a file option [X] (with query) while viewing.
  649.     *  Added hit [ESC] while decoding to abort picture.
  650.  
  651. VPIC ver 1.5   3-23-89
  652.     *  Fixed bug in 'Escape while decoding' which would hang system.
  653.     *  Fixed EGA x2 display for interlaced files.
  654.     *  Fixed problem with saving a pic after scrolling.
  655.     *  Fixed palette in animate, so save will use current palette.
  656.     *  Fixed problem with bad files in slide mode that would hang computer.
  657.     *  Fixed error display in /@ slide mode and single file mode.
  658.  
  659. VPIC ver 1.6   4-5-89
  660.     *  Fixed bugs in slide show from command file. Added comments.
  661.     *  Added resolution option for each picture in slide command file.
  662.     *  Fixed miscellaneous minor bugs.
  663.     *  Added configurable menu color.
  664.  
  665. VPIC ver 1.7   6-13-89
  666.     *  Added Trident chip set support (for Maxxon and Logix VGA boards
  667.        and maybe the ATI board).
  668.     *  Fixed a few bugs concerned with putting & getting lines from the
  669.        display screen.
  670.     *  Fixed problem with Ctrl Z at end of slide definition file.
  671.  
  672. VPIC ver 1.8  6-28-89
  673.     *  Added EGA Paint viewing/conversion.
  674.     *  Fixed conversion to 800x600 ColoRIX file.
  675.     *  Fixed other minor bugs.
  676.  
  677. VPIC ver 1.9  7-19-89
  678.     *  Added inverted, mirrored, and rotated GIF saves.
  679.     *  Fixed a bug in the Dr Halo CUT file creation.
  680.     *  Added menu updating after file creation or deletion.
  681.     *  Added new path spec feature from menu with [F9] key.
  682.  
  683. VPIC ver 2.0  8-6-89
  684.     *  Added Pictor/PC Paint PIC, Dr. Halo CUT, Deluxe Paint LBM, and
  685.        Targa 16 or 24 file viewing capability.
  686.     *  Fixed a bug in the palette selection for EGA.
  687.     *  Fixed a bug which would not show VGA for the plain vanilla VGA config.
  688.     *  Fixed a bug in the ZSoft PCX display for extended EGA modes.
  689.     *  Added Auto resolution option and switch from the menu [F7].
  690.     *  Made cursor stay fixed when files are created or deleted.
  691.     *  Added Chips & Technology support. (VPIC 2.0A)
  692.     *  Fixed ZSoft save at higher screen resolution than pic. (VPIC 2.0B)
  693.  
  694. VPIC ver 2.1   9-5-89
  695.     *  Fixed a bug in LBM viewing
  696.     *  Added ColoRIX 16 color SCR and SCP view/create.
  697.     *  Speeded up GIF decoding about 50%.
  698.  
  699. VPIC ver 2.1A  9-10-89
  700.     *  Fixed a memory allocation problem for slides.
  701.     *  Made small increase in speed.
  702.     *  Fixed directory callout (*.PIC, etc).
  703.     *  Re-enabled [ESC] for GIF viewing.
  704.     *  Fixed Chip & Tech bank switching routine.
  705.     *  Fixed Deluxe Paint II (LBM) file creation.
  706.  
  707. VPIC ver 2.2  10-23-89
  708.     *  Fixed problem in new path command ([F9] from menu).
  709.     *  Fixed intermittent GIF decode problem.
  710.     *  Program now tells if GIF image and screen sizes conflict.
  711.     *  Menu now correctly displays file sizes larger than 1 Mbyte.
  712.     *  Now lists & displays Electronic Arts IFF files (same as LBM).
  713.  
  714. VPIC ver 2.3  12-13-89
  715.     *  Fixed C&T bank switching.
  716.     *  Added Everex 678, Ahead (B chip), and Genoa 6400 support.
  717.     *  Fixed bugs in GIF and Pictor decoder.
  718.  
  719. VPIC ver 2.4  12-28-89
  720.     * Fixed bug in GIF decoder for very wide pics.
  721.     * Fixed palette for many file types.
  722.     * Fixed slide mode from menu.
  723.  
  724. VPIC ver 2.5  1-28-90
  725.     * Fixed single file and /r modes.
  726.     * Fixed Pictor viewing for B&W pics.
  727.     * Fixed MAC header interpertation problem.
  728.     * Fixed memory clearing for pictures longer than the screen.
  729.     * Added F10 to menu to display current path. Menu no longer shows
  730.       complete path (only filespec) to avoid clutter with long paths.
  731.     * Deleted path from filename display when showing picture.
  732.     * Added SCY conversion for ColoRIX.
  733.     * Added Zymos VGA chip support.
  734.     * Corrected CVPIC to allow more than 9 banks in config file.
  735.  
  736. VPIC ver 2.6  1-28-90
  737.     * Fixed palette for 2 color GIFs.
  738.     * Fixed SCU display in 1024x768x16 mode.
  739.     * Fixed Pictor EGA and ColoRIX EGA slide viewing.
  740.  
  741. VPIC ver 2.7  3-17-90
  742.     * Fixed GIF bug and palette for files with local color maps.
  743.     * Added /b command line option to beep after a picture is decoded except
  744.       in slide modes.
  745.     * Added Alt_F command while viewing a picture to momentarily display the
  746.       file name.
  747.     * Fixed Targa viewing for all sizes; now handles RLE images too.
  748.  
  749. VPIC ver 2.8  3-27-90
  750.     * Added /h command line option to find hidden files.
  751.     * Changed menu display to allow up to 8 modes for VGA or EGA.
  752.     * Fixed palette in Dr. Halo CUT files.
  753.     * Added Tseng 4000 chip support.
  754.  
  755. VPIC ver 2.9  5-23-90
  756.     * Fixed Targa module to handle all 8 thru 32 bits/pixel formats.
  757.     * Added copyright messages.
  758.     * Fixed PCX viewing for gray scale files.
  759.  
  760. VPIC ver 2.9A 7-1-90
  761.     * Fixed Targa module for files which don't follow the compression rules
  762.       of 'don't overrun lines'. Added TGA expand option [E] while viewing a
  763.       RLE compressed Targa file.
  764.    *  Fixed conversion routines so they save the pictures size. This was a bug
  765.       that crept into ver 2.9.
  766.    *  Added ESC to abort deleting a file with [Alt_X].
  767.    *  Added file types (where applicable) to the info command [F3] from the
  768.       menu.
  769.    *  Added uncompressed ColoRIX SCO file (1024x768x256) support.
  770.    *  Fixed a bug in CVPIC.
  771.    *  Fixed a bug which prevented working with DOS 4.x.
  772.    *  Added Deluxe Paint II enhanced viewing and save capability.
  773.    *  Fixed a color bug in Targa 32 viewing.
  774. VPIC ver 3.0  9-15-90
  775.    *  Added capability to view the new GIF89a files, and FRA fractal files.
  776.       Added delay and user response features of GIF89a.
  777.    *  Fixed a bug which would hang the computer if you deleted the last
  778.       viewable file from a directory.
  779.    *  Added prompt for a file conversion, allowing you to escape.
  780.